package com.itheima.ums.service;

import com.itheima.mall.pojo.ResourceCategory;

import java.util.List;

public interface UmsResourceCategoryService {

    //添加后台资源分类
    Integer create(ResourceCategory resourceCategory);

    //根据ID删除后台资源
    Integer deleteById(Long id);

    //查询所有后台资源分类
    List<ResourceCategory> listAll();

    //修改后台资源分类
    Integer updateById(Long id, ResourceCategory resourceCategory);
}
